package org.luckyjourney.entity.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @description:
 * @Author: Xhy
 * @CreateTime: 2023-10-25 12:28
 */
@Data
public class RegisterVO {

    // @NotBlank(message = "密码不可为空")
    private String password;
    @NotBlank(message = "验证码不可为空")
    private String code;
    // @NotBlank(message = "用户名不可为空")
    private String nickName;
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private String phone;

    @ApiModelProperty("证书")
    private String certificate;
    @ApiModelProperty("身份")
    private Integer roleId;

    private String openid;

    private Integer moduleId;


}
